package com.example.xihuashoujiduan.fragment

import android.content.Intent
import com.example.xihuashoujiduan.R
import com.example.xihuashoujiduan.activity.BianjiziliaoActivity
import com.example.xihuashoujiduan.activity.MinxiActivity
import com.example.xihuashoujiduan.activity.TixianActivity
import com.example.xihuashoujiduan.base.BaseFragment
import com.example.xihuashoujiduan.databinding.FragmentWodeBinding
import com.example.xihuashoujiduan.viewmodel.Mainviewmodel

class WodeFragment:BaseFragment<Mainviewmodel, FragmentWodeBinding>(R.layout.fragment_wode){
    override fun initView() {
        binding.touxiang.setOnClickListener {
            val intent=Intent(activity, BianjiziliaoActivity::class.java)
           startActivity(intent)
        }
        binding.tixian.setOnClickListener {
            val intent=Intent(activity, TixianActivity::class.java)
            startActivity(intent)
        }

        binding.mingxi.setOnClickListener {
            val intent=Intent(activity, MinxiActivity::class.java)
            startActivity(intent)

        }

    }

    override fun dataObservese() {

    }


}